//
//  ParameterRespose.m
//  ICrEAM
//
//  Created by mac on 16/11/2.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "ParameterRespose.h"

@implementation ParameterRespose
+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"allParameters" : @"JSONObjectList"
             };
}
-(instancetype)init{
    self=[super init];
    if(self){
        
        [ParameterRespose mj_setupObjectClassInArray:^NSDictionary *{
            return @{ @"allParameters":[Parameter class]};
        }];
    }
    return self;
}
@end

@implementation Parameter
+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"dicts" : @"DICT",
              @"statusType":@"STATUS_TYPE"
             };
}
-(instancetype)init{
    self=[super init];
    if(self){
        
        [Parameter mj_setupObjectClassInArray:^NSDictionary *{
            return @{ @"dicts":[ParameterModel class]};
        }];
    }
    return self;
}


@end


@implementation ParameterModel

+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"code" : @"STATUS_CODE",
             @"desc" : @"STATUS_DESC",
             @"sort" : @"SORT"
             };
}
@end
